from core.room import Room
from core.basehandler import BaseHandler

class VictoryRoom(Room):
    
    def __init__(self, room_id):
        Room.__init__(self, room_id)    # do basic initialization for every room
    
    # return description of room.
    def get_description(self):
        return '''
        You mix a perfect screwdriver and give it to the executive. <br>
        It looks like he's friends with Dean Freeman, who has come over with your diploma and told the exec how awesome you are! Yay!<br>
        <br>
        After 30 minutes of networking, the exec offers you a JOB!  <br>
        <br>
        You have won the game!  Congratulations! :)
         '''
    
    # return image of room
    def get_image(self):
        return 'slowclap.gif'

class VictoryRoomHandler(BaseHandler):
    
    # override default template to omit the inventory and actions
    def get_template(self):
        return 'victory.html'
    
    # return class to use to create a new instance of this room
    def get_room_class(self):
        return VictoryRoom

# define actions for this room
